<form class="ui large form segment">
    <h3 class="ui header">添加文章链接</h3>
    <div class="field">
        <label for="title">Title:</label>
        <input type="text" name="title" #newtitle>
    </div>
    <div class="field">
        <label for="link">Link:</label>
        <input type="text" name="link" #newlink>
    </div>
    <button (click)="addArticle(newtitle,newlink)" class="ui positive right floated button">
        提交添加文章链接
    </button>
</form>
<h3>文章如下:</h3>
<div class="ui grid posts">
    <app-article 
    *ngFor="let article of sortedArticles()"
     [article]="article"> 
     </app-article>
</div>